package io.chenglicun.modules.knowledge.api;

import com.dtflys.forest.annotation.*;
import com.dtflys.forest.http.ForestResponse;
import com.dtflys.forest.multipart.ForestMultipart;
import io.chenglicun.common.page.PageData;
import io.chenglicun.common.utils.Result;
import io.chenglicun.modules.knowledge.dto.UploadRespDTO;
import liquibase.pro.packaged.L;
import org.json.JSONArray;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;
import java.util.Map;

@BaseRequest(baseURL = "#{knowledge.url}")
public interface SjcjApi {

    /**
     */
    @Get("/getFileList")
    ForestResponse<Result<PageData<UploadRespDTO>>> page(@Query Map<String, Object> param);


    @Delete("/delete")
    ForestResponse<Result> delete(@JSONBody Long[] ids);


}
